<?php

function addSuffix($path, $suf){
  $path_param = pathinfo($path);

  return $path_param['dirname'].'/'.$path_param['filename'].$suf.'.'.$path_param['extension'];
}

/* End of file add-ext.php */
